package com.jic.member.response.power;

import com.jic.member.request.power.LegalLogisticsIncrement;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Created by zxl on 2020/1/21
 *
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MememberLegalRuleResponse {
    @ApiModelProperty(notes = "会员等级权益规则主表ID")
    private Long id;
    @ApiModelProperty(notes = "deptID")
    private Long deptId;
    @ApiModelProperty(notes = "所属组织id")
    private Long merchantId;
    @ApiModelProperty(notes = "编号")
    private String legalRuleCode;
    @ApiModelProperty(notes = "权益名称")
    private String legalRuleName;
    @ApiModelProperty(notes = "权益类型 1购物权益 2积分权益 3物流权益 4活动特权 5内容特权 6服务特权 7等级升级")
    private String legalRuleType;
    @ApiModelProperty(notes = "创建日期")
    private Date createTime;
    @ApiModelProperty(notes = "创建用户ID")
    private Long creator;
    @ApiModelProperty(notes = "创建用户")
    private String creatorName;
    @ApiModelProperty(notes = "更新时间 数据库")
    private Date updateTime;
    @ApiModelProperty(notes = "更新用户ID")
    private Long updatorId;
    @ApiModelProperty(notes = "更新用户")
    private String updatorName;
    @ApiModelProperty(notes = "状态 0:启用 1:停用")
    private Integer status;
    @ApiModelProperty(notes = "所属平台")
    private String deptName;
    @ApiModelProperty(notes = "规则值")
    private BigDecimal ruleValue;
    //1:免运费 2:减运费
    private Integer freightMode;
    @ApiModelProperty(notes = "满减免单位元运费")
    private List<LegalLogisticsIncrement> logisticsIncrement;
    @ApiModelProperty(notes = "店铺集合ids")
    private List<Long> storeIds;
    @ApiModelProperty(notes = "商品集合ids")
    private List<SpuInfo> productIds;
    @ApiModelProperty(notes = "部门ids")
    private List<Long> deptIds;
    @ApiModelProperty(notes = "适用范围 1商家 2店铺 3 未设置")
    private Long scopeApplication;
}
